﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace Common.Util
{
    public static class NumberExtensions
    {
        public static string SaveVerifyCode(this int code, string pathSaved, string prefix = "VerifyNumber", bool clearHist = false)
        {
            return code.ToString().SaveVerifyCode(pathSaved, prefix, clearHist);
        }
    }
}
